.product-detail-container {
  padding-bottom: 50px;
  background-color: var(--bg-color);
}

.adm-nav-bar {
  background-color: var(--card-bg);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* 商品图片轮播 */
.product-swiper {
  --height: 375px;
  background-color: var(--card-bg);
}

.product-image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 商品基本信息 */
.product-info-section {
  background-color: var(--card-bg);
  padding: 15px;
  margin-bottom: 10px;
}

.product-price-section {
  margin-bottom: 10px;
}

.product-price {
  color: #ff4d4f;
  font-size: 24px;
  font-weight: 600;
  margin-right: 8px;
}

.product-original-price {
  color: rgba(153, 153, 153, 0.8);
  font-size: 14px;
  text-decoration: line-through;
}

.product-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
  line-height: 1.4;
  color: var(--text-color);
}

.product-sub-info {
  display: flex;
  justify-content: space-between;
  color: rgba(102, 102, 102, 0.8);
  font-size: 12px;
}

/* 商品数量选择 */
.product-action-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
  padding: 15px;
  margin-bottom: 10px;
}

.action-title {
  font-size: 14px;
  color: var(--text-color);
}

/* 商品详情标签页 */
.product-tabs {
  background-color: var(--card-bg);
  position: sticky;
  top: 45px;
  z-index: 90;
}

/* 商品内容 */
.product-content {
  background-color: var(--card-bg);
  padding: 15px;
  margin-bottom: 60px;
}

.product-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-color);
}

.detail-images {
  margin-top: 15px;
}

.detail-images img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 4px;
}

.product-specifications {
  padding: 0 5px;
}

.spec-item {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
}

.spec-key {
  flex: 0 0 30%;
  color: rgba(102, 102, 102, 0.8);
}

.spec-value {
  flex: 0 0 70%;
  color: var(--text-color);
}

/* 留出底部空间，防止内容被底部按钮遮挡 */
.product-bottom-space {
  height: 70px;
  width: 100%;
}

/* 固定底部按钮 */
.product-fixed-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  background-color: var(--card-bg);
  height: 60px;
  box-shadow: 0 -3px 10px var(--shadow-color);
  z-index: 999;
  max-width: 480px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid var(--border-color);
}

/* 操作图标区域 */
.product-action-icons {
  display: flex;
  width: 30%;
  border-right: 1px solid var(--border-color);
}

.action-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
  color: rgba(102, 102, 102, 0.8);
  font-size: 12px;
}

.action-icon span {
  margin-top: 4px;
}

/* 主按钮区域 */
.product-main-buttons {
  display: flex;
  width: 70%;
  padding: 10px;
  gap: 10px;
}

/* 加入购物车按钮 */
.add-cart-btn {
  flex: 1;
  border: none;
  border-radius: 20px;
  background-color: #ffd591;
  color: #873800;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* 立即购买按钮 */
.buy-now-btn {
  flex: 1;
  border: none;
  border-radius: 20px;
  background-color: #ff4d4f;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

/* 按钮悬停效果 */
.add-cart-btn:hover,
.buy-now-btn:hover {
  opacity: 0.9;
}

/* 按钮点击效果 */
.add-cart-btn:active,
.buy-now-btn:active {
  opacity: 0.8;
}

/* 加载中 */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.loading-spinner {
  font-size: 18px;
  padding: 20px;
  color: var(--text-color);
  background-color: var(--card-bg);
}